package com.kc.road.camera;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 服务启动类
 * Created by yzm on 2018/3/10.
 */
@ComponentScan(basePackages ="com.kc.road.camera")
@SpringBootApplication
@EnableAutoConfiguration
public class RoadServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(RoadServiceApplication.class, args);
//        RabbitMessageSenderService senderService = new RabbitMessageSenderService();
//        CameraVo vo = new CameraVo();
//        senderService.sender(Constants.CAMERA_EXCHANGE, Constants.CAMERA_ROUTING_TOPIC_KEY + ".111" ,vo);
    }
}
